<template>
    <cIndex v-if="selectScenes" />
    <kIndex v-else />
</template>

<script>
import cIndex from './collegesIndex' 
import kIndex from './k12Index'

export default {
    components: {
        kIndex,
        cIndex
	},   
    data() {
        return {
            selectScenes: 0,
        };
    },
    created() {
        // this.getScene()
    },
    methods: {
        getScene() {
            const success = res =>{
                this.selectScenes = res.data - 1
                // 1：为k12版，2：为高教版
            }
            this.$ajax.get('api/login/frontVersion', {func: {success}})
        },
    }
};
</script>
<style lang="scss">
   
</style>